package com.tongguan.paypos.entity;

import com.google.gson.Gson;

/**
 * Created by Joylive on 2016/12/14 .
 */

public class RevokeInfo {

    /**
     * message : 微信订单撤销成功
     * payMoney : 0.01
     * channelId : WX
     * status : 100
     * state : 2
     */

    private String message;
    private int status;
    private double payMoney;
    private String channelId;
    private String state;

    public static RevokeInfo objectFromData(String str) {

        return new Gson().fromJson(str, RevokeInfo.class);
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public double getPayMoney() {
        return payMoney;
    }

    public void setPayMoney(double payMoney) {
        this.payMoney = payMoney;
    }

    public String getChannelId() {
        return channelId;
    }

    public void setChannelId(String channelId) {
        this.channelId = channelId;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }
}
